PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


DrawThemeMenuSeparator

Draws a menu item separator line.

pascal OSStatus DrawThemeMenuSeparator (const Rect *inItemRect);
inItemRect
A pointer to a structure of type Rect . Before calling DrawThemeMenuSeparator , set the rectangle to contain the menu item separator to be drawn, in global coordinates. The rectangle should be the same height as the height returned by the function GetThemeMenuSeparatorHeight .
function result
A result code; see Result Codes .
DISCUSSION

The DrawThemeMenuSeparator function draws a theme-compliant menu item separator line.

VERSION NOTES

Available with Appearance Manager 1.0.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)